class AddEmissionsInheritance < ActiveRecord::Migration
  def self.up
    add_column :emissions, :type, :string
  
    # attributes for EmissionsPrograms
	add_column :emissions, :program_id, :integer
	
	# attribures for EmissionsSession
	add_column :emissions, :serie_id, :integer
  end

  def self.down
    remove_column :emissions, :type
	remove_column :emissions, :program_id
	remove_column :emissions, :serie_id
  end
end
